package com.shopping.dao;

import com.shopping.bean.Collect;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CollectDao {
    int addCollect(Collect collect);

    int isProductCollect(Map<String, Object> params);
    List<Collect> getCollectListByUserId(int userId);
    int deleteCollect(Map<String, Object> params);
    int deleteCollectById(int collectid);
    int getCollectCountByUserId(int userId);

}
